From: Eli Zaretskii Date: Mon, 25 Jul 2011 15:36:47 +0000 (+0300) Subject: Fix logic of caching display string positions for bidi display. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~2725 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=8a2084b69bc6bc44737ed70ba6fb9d0d1bb3dcf7;p=emacs.git Fix logic of caching display string positions for bidi display. src/xdisp.c (compute_display_string_pos): Fix logic of caching previous display string position. Initialize cached_prev_pos to -1. Fixes slow-down at the beginning of a buffer. --- 8a2084b69bc6bc44737ed70ba6fb9d0d1bb3dcf7 diff --cc src/ChangeLog index a14a998b7ff,3f01f471abd..69577d67c08 --- a/src/ChangeLog +++ b/src/ChangeLog @@@ -1,18 -1,11 +1,24 @@@ -2011-07-24 Eli Zaretskii ++2011-07-25 Eli Zaretskii + + * xdisp.c (compute_display_string_pos): Fix logic of caching + previous display string position. Initialize cached_prev_pos to + -1. Fixes slow-down at the beginning of a buffer. + +2011-07-24 Eli Zaretskii + + * xfaces.c (check_lface_attrs) [HAVE_WINDOW_SYSTEM]: Allow `nil' + for attrs[LFACE_FONTSET_INDEX]. + +2011-07-23 Paul Eggert + + * xml.c (parse_region): Remove unused local + that was recently introduced. + 2011-07-23 Eli Zaretskii + * xfns.c (unwind_create_frame) [GLYPH_DEBUG]: Adapt to changes in + revision 84777 on 2008-02-22. + * xdisp.c (move_it_in_display_line_to): Record the best matching position for TO_CHARPOS while scanning the line, and restore it on exit if none of the characters scanned was an exact match. Fixes